home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / Art Department Pro 2.15 d1.adf / ZapDPI / Install-ZapDPI < prev    next >
Text File  |  1992-05-12  |  3KB  |  93 lines

  1. ; This is the Zap_DPI installation script for ADPro V2.0.4
  2.  
  3. (set todo
  4.     (askoptions
  5.         (prompt
  6.             "If you are unfamiliar with this program or the process of installing it, push the Help gadget now.  "
  7.             "Otherwise, push either Proceed or Abort gadgets after "
  8.             "selecting the steps you wish to perform."
  9.         )
  10.         (help
  11.             "This sequence is divided into two steps. "
  12.             "\n\n"
  13.             "In the first step, you can install programs supplied by ASDG to patch IFF files "
  14.             "written by ADPro 2.X.X  to make them work properly with Professional Page 2.X. "
  15.             "Please see the ReadMe and the online (Installer) help for a description of these programs. If you own "
  16.             "Professional Page 2.X, you should install these programs. If you don't own Professional Page 2.X then you "
  17.             "can skip installing these programs."
  18.             "\n\n"
  19.             "In the second step, you can install two additional AREXX programs for use with Zap_DPI. "
  20.             "If you don't have ARexx, you can skip this step. If you do own "
  21.             "ARexx and intend to use Zap_DPI, you should select this step."
  22.         )
  23.         (choices
  24.             "Install IFF Patch Programs"
  25.             "Install AREXX Interface to IFF Patch Programs"
  26.         )
  27.     )
  28. )
  29. (if (= todo 0)
  30.     (abort "You didn't select anything, so there's nothing to do.")
  31. )
  32.  
  33. (if (IN todo 0)
  34.     (
  35.         (set @execute-dir
  36.             (askdir
  37.                 (prompt "Please select directory to install supplied IFF file patch programs into.")
  38.                 (help "As of version 2.0.0, ADPro's IFF saver now writes a chunk called DPI. "
  39.                       "This chunk is a new Commodore endorsed part of the IFF standard. Unfortunately, "
  40.                       "Gold Disk had created their own DPI chunk which they did not tell other companies "
  41.                       "about. When Professional Page 2.X sees a Commodore DPI chunk, it tries to interpret "
  42.                       "it as its own, and crashes.\n\n"
  43.                       "The long term solution is to have Gold Disk correct Professional Page, which they "
  44.                       "will do. In the short term, ASDG is supplying programs to modify IFF files to remove "
  45.                       "the DPI chunk so that Pro Page will not crash.\n\n"
  46.                       "If you own Professional Page, or may produce files that will be used with Professional Page, "
  47.                       "then select this step. Otherwise, you can skip it.\n\n"
  48.                       "If you elect to install this program, make sure you place it in a directory "
  49.                       "which is both WorkBench accessible and is in your PATH. Sys:Utilities is a good "
  50.                       "default."
  51.                       "\n\n"
  52.                       @askdir-help
  53.                 )
  54.                 (default "SYS:Utilities")
  55.             )
  56.         )
  57.         (set @default-dest @execute-dir)
  58.         (copyfiles
  59.             (prompt "")
  60.             (help "")
  61.             (source "ADPRO2.D1:ZapDPI")
  62.             (dest @execute-dir)
  63.             (pattern "ZapDPI")
  64.             (infos)
  65.         )
  66.     )
  67. )
  68.  
  69. (if (IN todo 1)
  70.     (
  71.         (set @execute-dir
  72.             (askdir
  73.                 (prompt "Please select directory to install supplied AREXX programs into.")
  74.                 (help
  75.                     "ASDG is also supplying a set of AREXX programs to patch IFF image file to allow Professional Page 2.1 to load them properly.  "
  76.                     "Please see the ReadMe for a description of the supplied AREXX programs.\n\n"
  77.                     "\n\n"
  78.                     @askdir-help
  79.                 )
  80.                 (default "REXX:")
  81.             )
  82.         )
  83.         (set @default-dest @execute-dir)
  84.         (copyfiles
  85.             (prompt "")
  86.             (help "")
  87.             (source "ADPRO2.D1:ZapDPI")
  88.             (pattern "#?.adpro")
  89.             (dest @execute-dir)
  90.         )
  91.     )
  92. )
  93.